package com.itheima.blog.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.blog.article.entity.TAlbum;
import com.itheima.common.domain.PageReqDto;
import com.itheima.common.domain.PageResDto;
import com.itheima.common.domain.R;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 用户相册表 服务类
 * </p>
 *
 * @author lin
 * @since 2023-07-12
 */
public interface ITAlbumService extends IService<TAlbum> {

    String uploadBannerPicture(MultipartFile file);

    void deleteBannerById(List<Long> ids);

    PageResDto<TAlbum> findPage(PageReqDto pageReqDto);

    R<TAlbum> findAlbumById(Long id);

    void updateFile(Long id, MultipartFile file);
}
